/**
 * Author:   e20160504
 * Date:     2018/5/30 18:32
 * Description:
 */
package com.kevin.demo.dao;

import org.apache.ibatis.session.RowBounds;

import java.util.List;

 public interface IDao<T> {

    
     int deleteByPrimaryKey(Object o) ;

    
     int delete(T t) ;

    
     int insert(T t) ;

    
     int insertSelective(T t) ;

    
     boolean existsWithPrimaryKey(Object o) ;

    
     List<T> selectAll() ;

    
     T selectByPrimaryKey(Object o) ;

    
     int selectCount(T t) ;

    
     List<T> select(T t) ;

    
     T selectOne(T t) ;

    
     int updateByPrimaryKey(T t) ;

    
     int updateByPrimaryKeySelective(T t) ;

    
     int deleteByExample(Object o) ;

    
     List<T> selectByExample(Object o) ;

    
     int selectCountByExample(Object o) ;

    
     T selectOneByExample(Object o) ;

    
     int updateByExample(T t, Object o) ;

    
     int updateByExampleSelective(T t, Object o) ;

    
     int insertList(List<T> list) ;

    
     int insertUseGeneratedKeys(T t) ;
}
